<?php /* Smarty version 2.6.19, created on 2008-07-21 14:49:16
         compiled from inc/room.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'inc/room.tpl', 5, false),)), $this); ?>
<div align="left"><strong>Chat room: "<?php echo $this->_tpl_vars['room_name']; ?>
"</strong></div>
<?php if ($this->_tpl_vars['block']): ?><div>You are blocked</div><?php endif; ?>
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
    <div>
        [<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['created'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%H:%M:%S") : smarty_modifier_date_format($_tmp, "%H:%M:%S")); ?>
]
        <?php if ($this->_tpl_vars['item']['user_password']): ?><a href="/another/profile/<?php echo $this->_tpl_vars['item']['user_id']; ?>
/"><?php endif; ?>
            <b><?php echo $this->_tpl_vars['item']['user_login']; ?>
</b>
        <?php if ($this->_tpl_vars['item']['user_password']): ?></a><?php endif; ?>
        : <?php echo $this->_tpl_vars['item']['chat_message']; ?>

    </div>
<?php endforeach; endif; unset($_from); ?><br />
<div>
    <!-- Paging -->
    <?php $_from = $this->_tpl_vars['paging']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
        <?php if ($this->_tpl_vars['page'] == $this->_tpl_vars['key']): ?><?php echo $this->_tpl_vars['item']; ?>
<?php else: ?><a href="<?php echo $this->_tpl_vars['sys_action_path']; ?>
/<?php echo $this->_tpl_vars['room_id']; ?>
/<?php if ($this->_tpl_vars['key'] != 0): ?><?php echo $this->_tpl_vars['key']; ?>
/<?php endif; ?>"><?php echo $this->_tpl_vars['item']; ?>
</a><?php endif; ?> 
    <?php endforeach; endif; unset($_from); ?>
    <!--// Paging -->
</div>